package dao;

import model.Goods;
import model.Trading;

import java.util.List;

public interface TradingDao {
    public boolean InsertTrading(Trading trading);

    public boolean DeleteTrading(String TradingId);

    public boolean UpdateTrading(String  tradingid,String state);

    public Trading judgetradinginfo(String GoodsId);
    public Trading judgetrading(String Id);
    public List<Trading> ShowTrading(String user_id);
    public boolean DeleteGoodsTrading(String goodsid);
}
